package com.ljm.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.lang.NonNull;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.CopyOnWriteArraySet;

/**
 * @author: ChenHuaMing
 * @Date: 2020/6/2 15:58
 * @Description: 用户信息
 */
@Data
public class UserInfoDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "创建人")
    private String creater;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改人")
    private String editor;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime editTime;

    @ApiModelProperty(value = "状态：-1注销、1正常、0冻结")
    private Integer status;

    @ApiModelProperty(value = "用户类型")
    private String type;

    @ApiModelProperty(value = "用户名称")
    private String loginName;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "真实名称")
    private String realName;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "身份证号码")
    private String identityNo;

    @ApiModelProperty(value = "用户头像")
    private String header;

    @ApiModelProperty(value = "联系方式")
    private String mobile;

    @ApiModelProperty(value = "职位")
    private String position;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "机构id")
    private String orgId;

    @ApiModelProperty(value = "微信openid")
    private String openId;

    @ApiModelProperty(value = "部门")
    private List<String> deptIds=new CopyOnWriteArrayList<>();
}
